package org.opensmile.website.persistence;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.opensmile.website.domain.Sys_role;
import org.opensmile.website.domain.Sys_roleExample;

public interface Sys_roleMapper {
	@Select("select * from sys_role where name =#{name}")
	Sys_role getRole(@Param("name") String name);
	
    int countByExample(Sys_roleExample example);

    /* int deleteByExample(Sys_roleExample example);

    int deleteByPrimaryKey(String sysid);

    int insert(Sys_role record);

    int insertSelective(Sys_role record);

    List<Sys_role> selectByExample(Sys_roleExample example);

    Sys_role selectByPrimaryKey(String sysid);

    int updateByExampleSelective(@Param("record") Sys_role record, @Param("example") Sys_roleExample example);

    int updateByExample(@Param("record") Sys_role record, @Param("example") Sys_roleExample example);

    int updateByPrimaryKeySelective(Sys_role record);

    int updateByPrimaryKey(Sys_role record);*/
}